package com.guoxue.domain;

import java.io.Serializable;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

/**
 * 由工具生成的java类,手工修改无效!
 * 
 * 
 */
@Entity
@Table(name = "AlbumVo")
public class AlbumVo implements Cloneable, Serializable {
	
	private String ossKey = "";
	/**
	 * 相片id
	 */
	@Id
	@GenericGenerator(name = "generator", strategy = "identity")
	@GeneratedValue(generator = "generator", strategy = GenerationType.IDENTITY)
	private int id;
	/**
	 * 删除标识码
	 */
	private int sysflag=0;
	/**
	 * 用户id
	 */
	private int uid;
	/**
	 * 上传时间
	 */
	private String uploadDate;
	public String getOssKey() {
		return ossKey;
	}
	public void setOssKey(String ossKey) {
		this.ossKey = ossKey;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public int getSysflag() {
		return sysflag;
	}
	public void setSysflag(int sysflag) {
		this.sysflag = sysflag;
	}
	public int getUid() {
		return uid;
	}
	public void setUid(int uid) {
		this.uid = uid;
	}
	public String getUploadDate() {
		return uploadDate;
	}
	public void setUploadDate(String uploadDate) {
		this.uploadDate = uploadDate;
	}
	@Override
	public String toString() {
		return "AlbumVo [ossKey=" + ossKey + ", id=" + id + ", sysflag=" + sysflag + ", uid=" + uid + ", uploadDate="
				+ uploadDate + "]";
	}
	
	
}
